package pe.com.bbva.mantenimiento.bo;

import java.util.List;

import pe.com.bbva.mantenimiento.domain.Kit;
import pe.com.bbva.mantenimiento.domain.Material;
import pe.com.stefanini.core.bo.Grid;
import pe.com.stefanini.core.exceptions.BOException;
import pe.com.stefanini.core.exceptions.DAOException;

public interface KitBO {
	public List<Kit> findKits(Kit kit) throws BOException, DAOException ;
	public Kit findById(Long id) throws BOException, DAOException;
	public void save(Kit kit, String codigoAnterior) throws BOException, DAOException;
	public void delete(Kit kit)throws BOException;
	@SuppressWarnings("rawtypes")
	public void deleteLog(Class kit, Long id) throws BOException;
	public Grid<Material> findToGrid(List<Material> materiales,String order, int page, int rows)	throws BOException, DAOException;
}